(x_set_cursor_color): Fix typo.
authorRichard M. Stallman <rms@gnu.org>
Wed, 4 May 1994 03:28:38 +0000 (03:28 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 4 May 1994 03:28:38 +0000 (03:28 +0000)
src/xfns.c

index f388423927aef5b1a0823b563434d9906241b150..79a2b2b347d1f05fdfdf3006779bde8d4187c3e1 100644 (file)
@@ -842,7 +842,7 @@ x_set_cursor_color (f, arg, oldval)
   /* Make sure that the cursor color differs from the background color.  */
   if (f->display.x->cursor_pixel == f->display.x->background_pixel)
     {
-      f->display.x->cursor_pixel == f->display.x->mouse_pixel;
+      f->display.x->cursor_pixel = f->display.x->mouse_pixel;
       if (f->display.x->cursor_pixel == fore_pixel)
        fore_pixel = f->display.x->background_pixel;
     }